<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"   
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <link rel="shortcut icon" href="#{request.contextPath}/recursos/imagenes/conci1.ico" />
        <f:loadBundle basename="com.nys.conci.base.recursos.etiquetas" var="label" />
        <title>
            <ui:insert name="titulo">#{label['titulo.nombre.sistema']}</ui:insert>
        </title>

        <meta http-equiv="Content-type" content="application/xhtml+xml; charset=UTF-8" />
        <meta http-equiv="Expires" content="0" />
        <meta http-equiv="Pragma" content="no-cache" />
        <link href="#{request.contextPath}/recursos/css/global.css" type="text/css" rel="stylesheet"></link>
        <link href="#{request.contextPath}/recursos/css/css_primefaces.css" type="text/css" rel="stylesheet"></link>        

        <link href="#{request.contextPath}/recursos/css/base.css" type="text/css" rel="stylesheet"></link>
        <link href="#{request.contextPath}/recursos/css/personalizado.css" type="text/css" rel="stylesheet"></link>        

        <script type="text/javascript" src="/sore/recursos/js/acordion.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/recursos/js/util.prime.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/recursos/js/hora.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/recursos/js/funciones.js"></script>
        <ui:insert name="java_script">

        </ui:insert>
    </h:head>

    <h:body onload="startTime();">

        <p:ajaxStatus id="ajaxStatusPanel" onstart="statusDialog.show();" onsuccess="statusDialog.hide();">

        </p:ajaxStatus>

        <div id="barra_superior" style="min-width: 900px;">
            <h:form>
                <ui:insert name="barra_superior">
                    <ui:include src="barra_superior.xhtml"/>
                </ui:insert>
            </h:form>
        </div>  


        <div id="id_menu" style="width: 100%">
            <h:form>
                <ui:insert name="menu">
                    <ui:include src="menu.xhtml"/>                                                                                
                </ui:insert>
            </h:form>
        </div>     
        <br/>
        <p:dialog modal="true" showHeader="false" widgetVar="statusDialog" header="" showEffect="puff" draggable="false"  resizable="false" closable="false" style="background: none; padding: 0em 0em; ">
            <p:graphicImage
                value="/recursos/imagenes/loading36.gif"/>
        </p:dialog>
        
        <!--**************************************** 
        SE DEFINE LA ESTRUCTURA PRINCIPAL DE LA PAGINA CON UN TABLE 
        -->      
        <div id="tablaContenedora" class="general" width="100%">
            <!-- Area de Trabajo -->
            <h:form id="form_conci" prependId="false">                    
                <div class="general">                  
                    <!-- Columna derecha **********************************-->    
                    <div>                            
                        <ui:insert name="mensajes">
                            <p:messages id="mensajes" showDetail="true" autoUpdate="true" /> 
                        </ui:insert>                        
                        <ui:insert name="contenido"></ui:insert>
                    </div><!-- fin columR --> 
                                </div>
                
            <div class="footertopbg">
                <div class="footertop"></div>
            </div><!-- fin footertopbg -->
            <div class="footer">
                <div class="footerCont">
                    <ui:insert name="piedepagina">
                        <ui:include src="piedepagina.xhtml"/>
                    </ui:insert>
                </div><!-- fin footerCont -->

            </div><!-- fin general -->                
            </h:form>
        </div>
    </h:body>
</html>
